Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change IIIF image requests to v3 #4127

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Change IIIF image requests to v3 #4127

merged 1 commit into from
Aug 28, 2024

Conversation

kdid
Copy link
Contributor

@kdid kdid commented Aug 28, 2024

Summary

Change the path in our indexed image urls to call the IIIF Image v3 API via our IIIF server.

Specific Changes in this PR

  • update IIIF Image paths to use IIIF Image API v3

Version bump required by the PR

See Semantic Versioning 2.0.0 for help discerning which is required.

  • Patch
  • Minor
  • Major

Steps to Test

  • Reindex
  • Check that image url paths in the ?as=iiif responses contain /iiif/3

🚀 Deployment Notes

Note - if you check any of these boxes go to the (always open) main <- staging PR and add detailed notes and instructions to help out others who may end up deploying your changes to production

  • Backward compatible API changes
    • Database Schema changes
    • GraphQL API
    • Elasticsearch API
    • Ingest Sheet
    • CSV metadata export/update API
    • Shared Links export API
  • Backwards-incompatible API changes
    • Database Schema changes
    • GraphQL API
    • Elasticsearch API
    • Ingest Sheet
    • CSV metadata export/update API
    • Shared Links export API
  • Requires data migration
  • Requires database triggers disabled during deployment/migration
  • Requires reindex
  • Terraform changes
    • Adds/requires new or changed Terraform variables
  • Pipeline configuration changes (requires mix meadow.pipeline.setup run)
  • Requires new variable added to miscellany
  • Specific deployment synchronization instructions with other apps/API's
  • Other specific instructions/tasks

Tested/Verified

  • End users/stakeholders

@kdid kdid force-pushed the 5044-iiif-3 branch 2 times, most recently from 9fa66f8 to a0a7cc7 Compare August 28, 2024 22:01
@kdid kdid requested a review from mbklein August 28, 2024 22:10
@kdid kdid changed the title Change IIIF server requests to v3 Change IIIF image requests to v3 Aug 28, 2024
@@ -90,15 +90,15 @@ defmodule Meadow.ConfigTest do
end

test "trailing slashes/0" do
Application.put_env(:meadow, :iiif_server_url, "http://no-slash-test/iiif/2")
Application.put_env(:meadow, :iiif_server_url, "http://no-slash-test/3")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a iiif/ missing here? And below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that! Pushed a change.

@kdid kdid merged commit 913ff36 into deploy/staging Aug 28, 2024
4 checks passed
@kdid kdid deleted the 5044-iiif-3 branch August 28, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants